<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var num = window.prompt();
        switch(num){
            case('周一'):alert('上班 开会');break
            case('周二'):alert('上班，团队讨论需求');break
            case('周三'):alert('上班，制定方案');break
            case('周四'):alert('上班，编写程序');break
            case('周五'):alert('上班汇报工作');break
            case('周六'):alert('休息');break
            case('周日'):alert('休息');break
        }
    </script>
</body>
</html>